<div class="comp-file-upload">
    <a href="javascript:;" class="link" :class="{'link-has-img': img !== ''}">
        <img :src="img" class="img" v-if="img">
        <loading type="inline" v-if="isLoading === true"></loading>
        <div class="drop" v-else></div>
        <input type="file"
               ref="input"
               name="file"
               accept="image/jpg,image/jpeg,image/png"
               @click="clickFileInput"
               @change="changeFileInput($event)"
               class="file-input">
        <!--<form enctype="multipart/form-data" ref="form" class="form">-->
        <!--</form>-->
    </a>
</div>